package com.sms.common.util.jdbc;


/**
 * Created by hu on 2015/7/28.
 */
public class JdbcConfig {
	public int getPort() {
		return 3306;
	}

	public String getUser() {
		return "certi";
	}

	public String getPassword() {
		return "sms3edc2wsx";
	}

	public String getURL() {
		return "jdbc:mysql://59.111.147.38:3306/sms-certi-spms?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false";
	}

	public int getMaxPoolSize() {
		return 24;
	}

	public int getMinPoolSize() {
		return 3;
	}

	public int getIncrement() {
		return 3;
	}

	public int getInitPoolSize() {
		return 3;
	}

	public int getMaxIdleTime() {
		return 6;
	}

	public int getIdleConnTestPeriod() {
		return 30;
	}

	public String getAutoTestTable() {
		return "c3p0_test";
	}

	public String getDriver() {
		return "com.mysql.jdbc.Driver";
	}
}
